{% extends "basis.html" %}

{% block content %}

<h3>User Details: {{ user_detail.username }}</h3>


<div class="owntrips">
<h3>List of trips planned by {{ user_detail.username }}</h3>
<ul>
{% for ot in own_trips%}
<li><a href="/trips/{{ot.id}}">{{ot.trip_name}}</a></li>
{% endfor %}
</ul>
</div>

<div class="participates">
<h3>List of trips {{ user_detail.username }} participates in</h3>
<ul>
{% for pt in participates_in %}
<li><a href="/trips/{{pt.id}}">{{pt.trip_name}}</a></li>
{% endfor %}
</ul>
</div>

{% endblock %}
